The Redundancy Allocation Problem (RAP) aims to optimize system reliability or cost by selecting redundant components under given constraints. While traditional RAP studies focus on reliability or cost alone, real-world systems, particularly queueing networks, require a balance between redundancy allocation and operational performance. This paper investigates the RAP for a tandem queueing network with repairable subsystems, where queueing costs and repair costs are jointly minimized. Unlike prior works, our model integrates queueing dynamics into redundancy optimization, ensuring both system reliability and operational efficiency. To solve this NP-hard problem, we propose a hybrid simulation-PSO algorithm, combining simulation for performance evaluation and Particle Swarm Optimization (PSO) for efficient solution search. Extensive numerical experiments demonstrate that our approach effectively minimizes total system costs while maintaining reliability. The results validate the applicability of our model in real-world service and manufacturing systems, such as healthcare, assembly lines, and logistics networks.